body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('./files/image\ 2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #222;
}

.content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.book {
    position: relative;
    width: 300px;
    height: 400px;
    perspective: 1100px;
}

/* delivery branding feel */
.page {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transform-origin: left center;
    transition: transform 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    padding: 20px;
}

.page:nth-child(even) {
    background: linear-gradient(135deg, #ff6a00, #ff9500);
}

.page:nth-child(even) .form,
.page:nth-child(even) .content {
    background: rgba(255, 255, 255, 0.95);
}

.flipped {
    transform: rotateY(-180deg);
}

.page .content {
    transform: rotateY(0deg);
}

.flipped .content {
    transform: rotateY(180deg);
}

/* glass look for forms */
.form {
    width: 100%;
    max-width: 260px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    /* pointer-events: none; */
}

.form h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

/* inputs */
.form input {
    width: calc(100% - 30px);
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
    transition: 0.3s;
}

.form input:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

.page.flipped .flip-btn {
    pointer-events: auto;
    transform: rotateY(180deg) !important;
}

/* buttons */
.form button {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #ff6a00, #ff9500);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 106, 0, 0.4);
}

/* links */
.form a {
    display: inline-block;
    margin-top: 10px;
    color: #ff6a00;
    text-decoration: none;
    font-weight: 500;
}

.form a:hover {
    text-decoration: underline;
}


.content {
    transform-style: preserve-3d;
    transition: transform 1s;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typing-effect {
    white-space: nowrap;
    overflow: hidden;
    /* width: 0; */
    display: inline-block;
    border-right: 2px solid black;
    /* Cursor effect */
    animation: typing 3s steps(30, end) forwards, blink 0.8s infinite;
}

.flip-btn {
    position: absolute;
    bottom: 12px;
    right: 15px;
    font-size: 12px;
    color: #000000;
    cursor: pointer;
    user-select: none;
}

.flip-btn:hover {
    text-decoration: underline;
}
.links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
}